#ifndef MUTUALEXCLUSIONTOKENPACKET_H
#define MUTUALEXCLUSIONTOKENPACKET_H

#include "AbstractPacket.h"
#include "core/MutualExclusionToken.h"

class MutualExclusionTokenPacket : public AbstractPacket
{
public:
    MutualExclusionTokenPacket(MutualExclusionToken token);

    const MutualExclusionToken & getToken() { return token; }

    virtual PacketType getPacketType() const { return MUTUAL_EXCL_TOKEN; }
private:
    MutualExclusionToken token;
};

#endif // MUTUALEXCLUSIONTOKENPACKET_H
